{extend name="AdminController/index" /}
{block name="main"}
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<div class="content-page">
    <div class="content">
        <h1>{$title}</h1>
<form action="insert" method="post" enctype="multipart/form-data">
    <div class="form-group">
        <label class="disabledTextInput">封面</label>
            <input type="file" class="btn btn-default" title="添加" name="cover">

    </div>
    <div class="form-group">
      <label for="disabledTextInput">片名</label>
      <input type="text" id="disabledTextInput" class="form-control" placeholder="name" name="mname">
    </div>
    <div class="form-group">
        <label for="disabledTextInput">地区</label>
        <input type="text" id="disabledTextInput" class="form-control" placeholder="country" name="country">
    </div>

    <div class="form-group">
        <label for="disabledTextInput">简介</label>
        <input type="text" id="disabledTextInput" class="form-control" placeholder="describe" name="describe">
    </div>
    <div class="form-group">
        <label for="disabledTextInput">上映时间</label>
        <input type="date" id="disabledTextInput" class="form-control" placeholder="year" name="myear">
    </div>
    <div class="form-group">
      <label for="disabledTextInput">片长</label>
      <input type="text" id="disabledTextInput" class="form-control" placeholder="time" name="mtime">
    </div>
    <div class="form-group">
        <label for="disabledTextInput">导演</label>
        <input type="text" id="disabledTextInput" class="form-control" placeholder="director" name="director">
    </div>
    <!--<div class="form-group">-->
        <!--<label for="disabledTextInput">封面</label>-->
        <!--<input type="text" id="disabledTextInput" class="form-control " placeholder="cover" name="cover">-->
    <!--</div>-->
    <div class="form-group">
        <label class="control-label">类型</label>
            <select class="form-control" name="type">
                <option>剧情</option>
                <option>喜剧</option>
                <option>动作</option>
                <option>爱情</option>
                <option>科幻</option>
                <option>悬疑</option>
                <option>惊悚</option>
                <option>恐怖</option>
                <option>犯罪</option>
                <option>音乐</option>
                <option>歌舞</option>
                <option>传记</option>
                <option>战争</option>
                <option>奇幻</option>
                <option>冒险</option>
                <option>灾难</option>
                <option>武侠</option>
                <option>情色</option>
            </select>
    </div>
    
    <button type="submit" class="btn btn-success">提交</button>
</form>
    </div>
</div>


{/block}